package com.ooho.lesson05.mvc.dao;

import java.io.Serializable;
import java.util.List;

/**
 * Created by hugohoo on 10/11/16.
 */
public interface DAO<T, K> {
    T find(K id);
    List<T> find();
    K insert(T value);
    int update(T value);
    int delete(T value);
}
